package com.itfreer.cms.service.content;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.content.CommentEntity;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 新闻评论对外服务
 * @author 82650
 *
 */
@Component
@Path("/cms_comment_show/")
public class RestCommentShowService extends BaseRestService<CommentEntity>{

	@Autowired(required = false)
	private CommentService commentService;

	@Override
	protected BaseService<CommentEntity> getService() {
		return commentService;
	}

	@Override
	protected String getServiceName() {
		return "cms_comment_show";
	}
	
	
	
}
